package php.code;

import php.code.indentation.Indentable;

/**
* Created by thormentor on 08-04-2014.
*/
public class Literal extends Indentable {

    private final String format;
    private final Object[] args;

    public Literal(String format, Object... args) {
        this.format = format;
        this.args = args;
    }

    @Override
    public String toString() {
        return getIndentation() + String.format(format, args);
    }
}
